<?php

class GoogleController extends Controller
{
	public function actionIndex()
	{
		$this->render('index');
	}
	//google svn submit hock method
	public function actionCodeSubversion()
	{
		$g_key = Yii::app()->params['Google_Code_Authentication_Key'];
		$test = json_encode($_GET);
		file_put_contents("google_svn.txt",$test);
		var_dump($test);
		//var_dump(hash_hmac('md5','01234567890',Yii::app()->params['Google_Code_Authentication_Key']));
	}
	// Uncomment the following methods and override them if needed
	/*
	public function filters()
	{
	// return the filter configuration for this controller, e.g.:
	return array(
	'inlineFilterName',
	array(
	'class'=>'path.to.FilterClass',
	'propertyName'=>'propertyValue',
	),
	);
	}

	public function actions()
	{
	// return external action classes, e.g.:
	return array(
	'action1'=>'path.to.ActionClass',
	'action2'=>array(
	'class'=>'path.to.AnotherActionClass',
	'propertyName'=>'propertyValue',
	),
	);
	}
	*/
}